package net.csdn.business.common.domain.vo.security;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import net.csdn.business.common.constant.CommonConstants;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class LeakResultVO {

    private String id;
    /**
     * 漏洞名称
     */
    private String name;

    /**
     * 漏洞编号
     */
    private String number;

    /**
     * 风险等级
     */
    private String percision;

    /**
     * 组件名称
     */
    private String componentName;

    /**
     * 组件版本
     */
    private String componentVersion;

    private String toolId;

    private String toolName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date createAt;

}
